package com.hbx.task;

import lombok.Getter;
import lombok.Setter;

/*
 * @Author:hbx
 * 
 * */
public enum ScheduledJobEnum {
    // 每日检查pk过期的定时任务
    PK_EXPIRE_TIME_JOB("pk_result_job",60L),
    // 每日清理反馈次数限制的定时任务
    REMOVE_YESTERDAY_MARK_JOB("yesterday_mark_job",60L),
    ;

    @Setter
    @Getter
    private String lockKey;
    @Setter
    @Getter
    private Long expire;

    ScheduledJobEnum(String lockKey, Long expire){
        this.expire = expire;
        this.lockKey = lockKey;
    }
}
